package org.gd.hellospring;

import org.springframework.context.ApplicationContext;

public class App {

    public static void main(String...args) {
        ApplicationContext context = SpringContext.getApplicationContext();
        SpringDao dao = context.getBean("springDao", SpringDao.class);
        System.out.println(dao.getName());
        dao.throwIt();
    }
}
